package com.ruoyi.mk.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网关管理对象 mk_wggl
 * 
 * @author guan
 * @date 2021-12-09
 */
public class MkWggl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 外键 用户表 */
    @Excel(name = "外键 用户表")
    private String wgYonghu;

    /** 网关编号
 */
    @Excel(name = "网关编号 ")
    private String wgId;

    /** 网管名称 */
    @Excel(name = "网管名称")
    private String wgName;

    /** 信号道 */
    @Excel(name = "信号道")
    private String wgXinhao;

    /** 网络号 */
    @Excel(name = "网络号")
    private String wgWangluo;

    /** 地址 */
    @Excel(name = "地址")
    private String wgDizhi;

    /** 信号强度 */
    @Excel(name = "信号强度")
    private Long wgQiangdu;

    /** 备注 */
    @Excel(name = "备注")
    private String wgBeizhu;

    /** 0/1 0在线 1离线 */
    @Excel(name = "0/1 0在线 1离线")
    private Long wgState;

    /** 位置 */
    @Excel(name = "位置")
    private String wgWeizhi;

    /** 0/1 0正常 1删除 */
    @Excel(name = "0/1 0正常 1删除")
    private Long wgZhuangtai;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wgCreatetime;

    /** 创建者 */
    @Excel(name = "创建者")
    private String wgCreateuser;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wgUpdatetime;

    /** 修改者 */
    @Excel(name = "修改者")
    private String wgUpdateuser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWgYonghu(String wgYonghu) 
    {
        this.wgYonghu = wgYonghu;
    }

    public String getWgYonghu() 
    {
        return wgYonghu;
    }
    public void setWgId(String wgId) 
    {
        this.wgId = wgId;
    }

    public String getWgId() 
    {
        return wgId;
    }
    public void setWgName(String wgName) 
    {
        this.wgName = wgName;
    }

    public String getWgName() 
    {
        return wgName;
    }
    public void setWgXinhao(String wgXinhao) 
    {
        this.wgXinhao = wgXinhao;
    }

    public String getWgXinhao() 
    {
        return wgXinhao;
    }
    public void setWgWangluo(String wgWangluo) 
    {
        this.wgWangluo = wgWangluo;
    }

    public String getWgWangluo() 
    {
        return wgWangluo;
    }
    public void setWgDizhi(String wgDizhi) 
    {
        this.wgDizhi = wgDizhi;
    }

    public String getWgDizhi() 
    {
        return wgDizhi;
    }
    public void setWgQiangdu(Long wgQiangdu) 
    {
        this.wgQiangdu = wgQiangdu;
    }

    public Long getWgQiangdu() 
    {
        return wgQiangdu;
    }
    public void setWgBeizhu(String wgBeizhu) 
    {
        this.wgBeizhu = wgBeizhu;
    }

    public String getWgBeizhu() 
    {
        return wgBeizhu;
    }
    public void setWgState(Long wgState) 
    {
        this.wgState = wgState;
    }

    public Long getWgState() 
    {
        return wgState;
    }
    public void setWgWeizhi(String wgWeizhi) 
    {
        this.wgWeizhi = wgWeizhi;
    }

    public String getWgWeizhi() 
    {
        return wgWeizhi;
    }
    public void setWgZhuangtai(Long wgZhuangtai) 
    {
        this.wgZhuangtai = wgZhuangtai;
    }

    public Long getWgZhuangtai() 
    {
        return wgZhuangtai;
    }
    public void setWgCreatetime(Date wgCreatetime) 
    {
        this.wgCreatetime = wgCreatetime;
    }

    public Date getWgCreatetime() 
    {
        return wgCreatetime;
    }
    public void setWgCreateuser(String wgCreateuser) 
    {
        this.wgCreateuser = wgCreateuser;
    }

    public String getWgCreateuser() 
    {
        return wgCreateuser;
    }
    public void setWgUpdatetime(Date wgUpdatetime) 
    {
        this.wgUpdatetime = wgUpdatetime;
    }

    public Date getWgUpdatetime() 
    {
        return wgUpdatetime;
    }
    public void setWgUpdateuser(String wgUpdateuser) 
    {
        this.wgUpdateuser = wgUpdateuser;
    }

    public String getWgUpdateuser() 
    {
        return wgUpdateuser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wgYonghu", getWgYonghu())
            .append("wgId", getWgId())
            .append("wgName", getWgName())
            .append("wgXinhao", getWgXinhao())
            .append("wgWangluo", getWgWangluo())
            .append("wgDizhi", getWgDizhi())
            .append("wgQiangdu", getWgQiangdu())
            .append("wgBeizhu", getWgBeizhu())
            .append("wgState", getWgState())
            .append("wgWeizhi", getWgWeizhi())
            .append("wgZhuangtai", getWgZhuangtai())
            .append("wgCreatetime", getWgCreatetime())
            .append("wgCreateuser", getWgCreateuser())
            .append("wgUpdatetime", getWgUpdatetime())
            .append("wgUpdateuser", getWgUpdateuser())
            .toString();
    }
}
